from django.conf.urls import url

from . import views

urlpatterns = [
    # url(路径，视图)
    url(r'^students/loginIn/$', views.login_in),
    url(r'^students/studentInfo/$', views.student_info),
    url(r'^students/takeOut/$', views.take_out),
    url(r'^students/$', views.get_students),
    url(r'^students/query/$', views.query_students),
    url(r'^sno/check/$', views.is_exsits_sno),
    url(r'^student/add/$', views.add_student),
    url(r'^student/update/$', views.update_student),
    url(r'^student/delete/$', views.delete_student),
    url(r'^students/delete/$', views.delete_students),
    url(r'^students/upload/$', views.upload),
    url(r'^students/importStudentExcel/$', views.import_student_excel),
    url(r'^students/exportStudentExcel/$', views.export_student_excel)
]
